package com.tencent.wepay.protocol.bill.response;

import java.io.Serializable;

import com.tencent.wepay.constant.enums.FeeTypeEnum;
import com.tencent.wepay.constant.enums.RefundChannelEnum;
import com.tencent.wepay.constant.enums.TradeTypeEnum;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
@XStreamAlias("xml")
public class RefundResponse  implements Serializable{
	private static final long serialVersionUID = 4035051690651166519L;
	@XStreamAlias("return_code")
	private String returnCode;
	@XStreamAlias("return_msg")
	private String returnMsg;
	@XStreamAlias("appid")
	private String appid;
	@XStreamAlias("mch_id")
	private String mchId;
	@XStreamAlias("device_info")
	private String deviceInfo;
	@XStreamAlias("nonce_str")
	private String nonceStr;
	@XStreamAlias("result_code")
	private String resultCode;
	@XStreamAlias("err_code_des")
	private String errCodeDes;
	@XStreamAlias("err_code")
	private String errCode;
	@XStreamAlias("trade_type")
	private TradeTypeEnum tradeType;
	@XStreamAlias("openid")
	private String openid;
	@XStreamAlias("sign")
	private String sign;
	@XStreamAlias("total_fee")
	private Integer totalFee;
	@XStreamAlias("fee_type")
	private FeeTypeEnum feeType;
	@XStreamAlias("refund_channel")
	@XStreamOmitField
	private RefundChannelEnum refundChannel=RefundChannelEnum.ORIGINAL;
	@XStreamAlias("cash_fee")
	private Integer cashFee;
	@XStreamAlias("refund_fee")
	private Integer refundFee;
	@XStreamAlias("cash_refund_fee")
	private Integer cashRefundFee;
	@XStreamAlias("coupon_refund_fee")
	private Integer couponRefundFee;
	@XStreamAlias("coupon_refund_count")
	private Integer couponRefundCount;
	@XStreamAlias("transaction_id")
	private String transactionId;
	@XStreamAlias("out_trade_no")
	private String tradeNo;
	@XStreamAlias("out_refund_no")
	private String outRefundNo;
	@XStreamAlias("refund_id")
	private String refundId;
	@XStreamAlias("coupon_refund_id")
	private String couponRefundId;
	public String getReturnCode() {
		return returnCode;
	}
	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}
	public String getReturnMsg() {
		return returnMsg;
	}
	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	public String getDeviceInfo() {
		return deviceInfo;
	}
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getResultCode() {
		return resultCode;
	}
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	public String getErrCodeDes() {
		return errCodeDes;
	}
	public void setErrCodeDes(String errCodeDes) {
		this.errCodeDes = errCodeDes;
	}
	public String getErrCode() {
		return errCode;
	}
	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
	public TradeTypeEnum getTradeType() {
		return tradeType;
	}
	public void setTradeType(TradeTypeEnum tradeType) {
		this.tradeType = tradeType;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public Integer getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}
	public FeeTypeEnum getFeeType() {
		return feeType;
	}
	public void setFeeType(FeeTypeEnum feeType) {
		this.feeType = feeType;
	}
	public Integer getCashFee() {
		return cashFee;
	}
	public void setCashFee(Integer cashFee) {
		this.cashFee = cashFee;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public Integer getRefundFee() {
		return refundFee;
	}
	public void setRefundFee(Integer refundFee) {
		this.refundFee = refundFee;
	}
	public Integer getCashRefundFee() {
		return cashRefundFee;
	}
	public void setCashRefundFee(Integer cashRefundFee) {
		this.cashRefundFee = cashRefundFee;
	}
	public Integer getCouponRefundFee() {
		return couponRefundFee;
	}
	public void setCouponRefundFee(Integer couponRefundFee) {
		this.couponRefundFee = couponRefundFee;
	}
	public Integer getCouponRefundCount() {
		return couponRefundCount;
	}
	public void setCouponRefundCount(Integer couponRefundCount) {
		this.couponRefundCount = couponRefundCount;
	}
	public String getOutRefundNo() {
		return outRefundNo;
	}
	public void setOutRefundNo(String outRefundNo) {
		this.outRefundNo = outRefundNo;
	}
	public String getRefundId() {
		return refundId;
	}
	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}
	public String getCouponRefundId() {
		return couponRefundId;
	}
	public void setCouponRefundId(String couponRefundId) {
		this.couponRefundId = couponRefundId;
	}
}
